package cn.etynit.mms.feign;

import cn.etynit.domain.ExpenseRecharge;
import cn.etynit.mms.fallback.ExpenseRechargeServiceFallbackFactory;
import cn.etynit.result.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@FeignClient(contextId = "expenseRechargeService",value = "service-expense",path = "/expenseRecharge",fallbackFactory = ExpenseRechargeServiceFallbackFactory.class)
public interface ExpenseRechargeService {
    @RequestMapping(value="/save",method= RequestMethod.POST)
    JsonResult saveOrUpdate(@RequestBody ExpenseRecharge expenseRecharge);
}
